package com.lzh.shijicloudstack.config.global;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.List;

/**
 * 全局参数配置
 */
@Configuration
public class GlobalListConfig {

    /**
     * 存在延保证书的区域
     */
    @Bean
    public List<String> getHasExtendWarrantyAreaList() {
        return Arrays.asList(
                "EMEA",
                "澳大利亚",
                "巴西",
                "德国",
                "加拿大",
                "美国",
                "新西兰"
        );
    }

    /**
     * 账套为HQ的公司ID
     */
    @Bean
    public List<String> hqCompanyIdList() {
        return Arrays.asList("001", "008", "020", "015", "021");
    }

    /**
     * BU账套列表
     */
    @Bean
    public List<String> buCompanyList() {
        return Arrays.asList(
                "002",
                "Altenergy power system Austrilia PtyLtd",
                "Altenergy Power System Australia PTY LTD",
                "APSAustrilia",
                "APSAU",
                "003",
                "Altenergy Power Systems Mexico S.A. de C.V. (RFC.- APS160715SV0)",
                "APScMexico",
                "APSEMEXICO",
                "APSMEXICO",
                "ASPMexico",
                "APS-MX",
                "APSMX",
                "013",
                "Altenergy Power System Europe B.V.",
                "Altenergy Power System Europe B.V",
                "APS EU",
                "APSEU",
                "ALTENERGY POWER TRADING, SL",
                "USA",
                "Altenergy Power Systems USA Inc."
        );
    }

    /**
     * HQ账套列表
     */
    @Bean
    public List<String> hqCompanyList() {
        return Arrays.asList(
                "001",
                "008",
                "020",
                "015",
                "021",
                "Altenergy Power Systems Singapore PTE.Ltd",
                "昱能科技股份有限公司上海分公司",
                "景宁昱能科技有限公司",
                "嘉兴昱能贸易有限公司",
                "昱能仓库",
                "昱能仓",
                "AP Systms",
                "AP systems",
                "APsystems China",
                "Apsystems",
                "浙江昱能科技有限公司工会委员会",
                "昱能科技股份有限公司",
                "Altenergy Power System Inc.",
                "Altenergy Power System"
        );
    }

}